package com.swt.dao;

import com.swt.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author admin
 * @Classname swt
 * @Version 1.0.0
 * @Date 2022/9/7 17:11
 */
public interface TeacherMapper {
    @Select("SELECT *FROM teacher where id= #{tid}")
    Teacher getTeacher(@Param("tid") int id);
}
